package com.eoner.baselibrary.bean.material;

import android.text.TextUtils;

import java.util.List;

/**
 * @auther hjian
 * @date 2020/7/31.
 */
public class MaterialItemBean {

    private boolean isShow = false;
    private String material_id;
    private String user_id;
    private String user_type;//1官方2商家3普通
    private String category_id;
    private String category_title;
    private String material_type;// 0图形1视频
    private String material_status;//1草稿 2待审核 3上线 4下线 5审核通过 6审核拒绝
    private String material_status_desc;
    private String is_top;
    private String audit_at;
    private String user_name;
    private String avatar;
    private String product_id;
    private String visibility;
    private String like_num;
    private String download_num;
    private String favorite_num;
    private String share_num;
    private String sold_num;
    private String is_like;
    private String is_favorite;
    private String content;
    private String material_count;
    private String is_self;
    private String is_complaint;
    private String is_followed;
    private String refuse_reason;

    private List<UserTagItemBean> user_tag;
    private List<MaterialContentTagItemBean> tag;
    private List<ResourceBean> resource;
    private List<MaterialItemProductBean> relation;
    private String show_time;
    private String marked_word;

    public String getShow_time() {
        return show_time;
    }

    public void setShow_time(String show_time) {
        this.show_time = show_time;
    }

    public String getMarked_word() {
        return marked_word;
    }

    public void setMarked_word(String marked_word) {
        this.marked_word = marked_word;
    }

    public String getRefuse_reason() {
        return refuse_reason;
    }

    public void setRefuse_reason(String refuse_reason) {
        this.refuse_reason = refuse_reason;
    }

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean show) {
        isShow = show;
    }

    public String getMaterial_id() {
        return material_id;
    }

    public void setMaterial_id(String material_id) {
        this.material_id = material_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getUser_type() {
        return user_type;
    }

    public void setUser_type(String user_type) {
        this.user_type = user_type;
    }

    public String getCategory_id() {
        return category_id;
    }

    public void setCategory_id(String category_id) {
        this.category_id = category_id;
    }

    public String getCategory_title() {
        return category_title;
    }

    public void setCategory_title(String category_title) {
        this.category_title = category_title;
    }

    public String getMaterial_type() {
        return material_type;
    }

    public void setMaterial_type(String material_type) {
        this.material_type = material_type;
    }

    public String getMaterial_status() {
        return material_status;
    }

    public void setMaterial_status(String material_status) {
        this.material_status = material_status;
    }

    public String getMaterial_status_desc() {
        return material_status_desc;
    }

    public void setMaterial_status_desc(String material_status_desc) {
        this.material_status_desc = material_status_desc;
    }

    public String getIs_top() {
        return is_top;
    }

    public void setIs_top(String is_top) {
        this.is_top = is_top;
    }

    public String getAudit_at() {
        return audit_at;
    }

    public void setAudit_at(String audit_at) {
        this.audit_at = audit_at;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public String getVisibility() {
        return visibility;
    }

    public void setVisibility(String visibility) {
        this.visibility = visibility;
    }

    public String getLike_num() {
        return TextUtils.isEmpty(like_num) ?"0":like_num;
    }

    public void setLike_num(String like_num) {
        this.like_num = like_num;
    }

    public String getDownload_num() {
        return download_num;
    }

    public void setDownload_num(String download_num) {
        this.download_num = download_num;
    }

    public String getFavorite_num() {
        return favorite_num;
    }

    public void setFavorite_num(String favorite_num) {
        this.favorite_num = favorite_num;
    }

    public String getShare_num() {
        return share_num;
    }

    public void setShare_num(String share_num) {
        this.share_num = share_num;
    }

    public String getSold_num() {
        return sold_num;
    }

    public void setSold_num(String sold_num) {
        this.sold_num = sold_num;
    }

    public String getIs_like() {
        return is_like;
    }

    public void setIs_like(String is_like) {
        this.is_like = is_like;
    }

    public String getIs_favorite() {
        return is_favorite;
    }

    public void setIs_favorite(String is_favorite) {
        this.is_favorite = is_favorite;
    }

    public String getIs_followed() {
        return is_followed;
    }

    public void setIs_followed(String is_followed) {
        this.is_followed = is_followed;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMaterial_count() {
        return material_count;
    }

    public void setMaterial_count(String material_count) {
        this.material_count = material_count;
    }

    public String getIs_self() {
        return is_self;
    }

    public void setIs_self(String is_self) {
        this.is_self = is_self;
    }

    public String getIs_complaint() {
        return is_complaint;
    }

    public void setIs_complaint(String is_complaint) {
        this.is_complaint = is_complaint;
    }

    public List<UserTagItemBean> getUser_tag() {
        return user_tag;
    }

    public void setUser_tag(List<UserTagItemBean> user_tag) {
        this.user_tag = user_tag;
    }

    public List<MaterialContentTagItemBean> getTag() {
        return tag;
    }

    public void setTag(List<MaterialContentTagItemBean> tag) {
        this.tag = tag;
    }

    public List<ResourceBean> getResource() {
        return resource;
    }

    public void setResource(List<ResourceBean> resource) {
        this.resource = resource;
    }

    public List<MaterialItemProductBean> getRelation() {
        return relation;
    }

    public void setRelation(List<MaterialItemProductBean> relation) {
        this.relation = relation;
    }
}
